﻿using System;
using AutoPoco.Engine;

namespace Autopoco.Contrib.DataSources
{
    public class RandomLongSource : DatasourceBase<long>
    {
        private readonly Random _random = new Random(100);
        public override long Next(IGenerationSession session)
        {
            return _random.Next(0, int.MaxValue);
        }
    }
}